import * as fs from 'fs';
import * as path from 'path';

/**
 * 获取证书
 * @constructor
 */
export function GetPrivateKey() {
  return fs.readFileSync(path.join(__dirname, '../../certs/apiclient_key.pem'));
}

export function GetPublicKey() {
  return fs.readFileSync(
    path.join(__dirname, '../../certs/apiclient_cert.pem'),
  );
}
